package com.ljf.authority.infra.mapper;

import com.ljf.authority.model.AuthorityRelButtonApi;
import com.ljf.common.domain.entity.KeyCountModel;
import com.ljf.common.infra.mapper.BasisMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * AuthorityRelButtonApiMapper  Mapper接口
 *
 * @author LJF
 * @since 2024-10-30
 */
@Mapper
public interface AuthorityRelButtonApiMapper extends BasisMapper<AuthorityRelButtonApi> {

    List<KeyCountModel> countApiCodeGroupByButtonCode(@Param("buttonCodeList") List<String> buttonCodeList);

    List<KeyCountModel> countButtonCodeGroupByApiCode(@Param("apiCodeList") List<String> apiCodeList);

}
